Assembly: Keystone.Quantum (in Keystone.Quantum.dll)
public static QuantumController CreateWith<TPersistenceStrategy>(
string configurationDomainInspectionSequence = "Development, Testing, Staging, Production, *",
bool monitorConfigurationChanges = false
)
where TPersistenceStrategy : PersistenceStrategy, new(), >, CreateWith(new, null, configurationDomainInspectionSequence, monitorConfigurationChanges)
This language is not supported or no code example is available.
Type Parameters
- TPersistenceStrategy
-
The persistence strategy type that will receive configuration variable reading requests. Since this type is instantiated inside this method, it must have a public parameterless constructor.
Parameters
- configurationDomainInspectionSequence
-
Type: string
Optional parameter that defines the configuration domain inspection sequence.
- monitorConfigurationChanges
-
Type: bool
Optional parameter that defines if Quantum should monitor configuration changes at runtime if possible.
Return Value
A new QuantumController instance.Exception type | Condition |
---|---|
If the |
Windows, Windows Server, OS X, macOS, iOS, tvOS, Android, Linux, AWS, Azure
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.